Optimal. Leaf size=236 \[ \frac{e^5 \cos (c+d x) (e \sin (c+d x))^{m-5} \text{Hypergeometric2F1}\left (-\frac{5}{2},\frac{m-5}{2},\frac{m-3}{2},\sin ^2(c+d x)\right )}{a^3 d (5-m) \sqrt{\cos ^2(c+d x)}}+\frac{3 e^5 \cos (c+d x) (e \sin (c+d x))^{m-5} \text{Hypergeometric2F1}\left (-\frac{3}{2},\frac{m-5}{2},\frac{m-3}{2},\sin ^2(c+d x)\right )}{a^3 d (5-m) \sqrt{\cos ^2(c+d x)}}-\frac{4 e^5 (e \sin (c+d x))^{m-5}}{a^3 d (5-m)}+\frac{7 e^3 (e \sin (c+d x))^{m-3}}{a^3 d (3-m)}-\frac{3 e (e \sin (c+d x))^{m-1}}{a^3 d (1-m)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.635327, antiderivative size = 236, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 7, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.304, Rules used = {3872, 2875, 2873, 2564, 14, 2577, 270} \[ \frac{e^5 \cos (c+d x) (e \sin (c+d x))^{m-5} \, _2F_1\left (-\frac{5}{2},\frac{m-5}{2};\frac{m-3}{2};\sin ^2(c+d x)\right )}{a^3 d (5-m) \sqrt{\cos ^2(c+d x)}}+\frac{3 e^5 \cos (c+d x) (e \sin (c+d x))^{m-5} \, _2F_1\left (-\frac{3}{2},\frac{m-5}{2};\frac{m-3}{2};\sin ^2(c+d x)\right )}{a^3 d (5-m) \sqrt{\cos ^2(c+d x)}}-\frac{4 e^5 (e \sin (c+d x))^{m-5}}{a^3 d (5-m)}+\frac{7 e^3 (e \sin (c+d x))^{m-3}}{a^3 d (3-m)}-\frac{3 e (e \sin (c+d x))^{m-1}}{a^3 d (1-m)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3872
Rule 2875
Rule 2873
Rule 2564
Rule 14
Rule 2577
Rule 270
Rubi steps
\begin{align*} \int \frac{(e \sin (c+d x))^m}{(a+a \sec (c+d x))^3} \, dx &=-\int \frac{\cos ^3(c+d x) (e \sin (c+d x))^m}{(-a-a \cos (c+d x))^3} \, dx\\ &=-\frac{e^6 \int \cos ^3(c+d x) (-a+a \cos (c+d x))^3 (e \sin (c+d x))^{-6+m} \, dx}{a^6}\\ &=-\frac{e^6 \int \left (-a^3 \cos ^3(c+d x) (e \sin (c+d x))^{-6+m}+3 a^3 \cos ^4(c+d x) (e \sin (c+d x))^{-6+m}-3 a^3 \cos ^5(c+d x) (e \sin (c+d x))^{-6+m}+a^3 \cos ^6(c+d x) (e \sin (c+d x))^{-6+m}\right ) \, dx}{a^6}\\ &=\frac{e^6 \int \cos ^3(c+d x) (e \sin (c+d x))^{-6+m} \, dx}{a^3}-\frac{e^6 \int \cos ^6(c+d x) (e \sin (c+d x))^{-6+m} \, dx}{a^3}-\frac{\left (3 e^6\right ) \int \cos ^4(c+d x) (e \sin (c+d x))^{-6+m} \, dx}{a^3}+\frac{\left (3 e^6\right ) \int \cos ^5(c+d x) (e \sin (c+d x))^{-6+m} \, dx}{a^3}\\ &=\frac{e^5 \cos (c+d x) \, _2F_1\left (-\frac{5}{2},\frac{1}{2} (-5+m);\frac{1}{2} (-3+m);\sin ^2(c+d x)\right ) (e \sin (c+d x))^{-5+m}}{a^3 d (5-m) \sqrt{\cos ^2(c+d x)}}+\frac{3 e^5 \cos (c+d x) \, _2F_1\left (-\frac{3}{2},\frac{1}{2} (-5+m);\frac{1}{2} (-3+m);\sin ^2(c+d x)\right ) (e \sin (c+d x))^{-5+m}}{a^3 d (5-m) \sqrt{\cos ^2(c+d x)}}+\frac{e^5 \operatorname{Subst}\left (\int x^{-6+m} \left (1-\frac{x^2}{e^2}\right ) \, dx,x,e \sin (c+d x)\right )}{a^3 d}+\frac{\left (3 e^5\right ) \operatorname{Subst}\left (\int x^{-6+m} \left (1-\frac{x^2}{e^2}\right )^2 \, dx,x,e \sin (c+d x)\right )}{a^3 d}\\ &=\frac{e^5 \cos (c+d x) \, _2F_1\left (-\frac{5}{2},\frac{1}{2} (-5+m);\frac{1}{2} (-3+m);\sin ^2(c+d x)\right ) (e \sin (c+d x))^{-5+m}}{a^3 d (5-m) \sqrt{\cos ^2(c+d x)}}+\frac{3 e^5 \cos (c+d x) \, _2F_1\left (-\frac{3}{2},\frac{1}{2} (-5+m);\frac{1}{2} (-3+m);\sin ^2(c+d x)\right ) (e \sin (c+d x))^{-5+m}}{a^3 d (5-m) \sqrt{\cos ^2(c+d x)}}+\frac{e^5 \operatorname{Subst}\left (\int \left (x^{-6+m}-\frac{x^{-4+m}}{e^2}\right ) \, dx,x,e \sin (c+d x)\right )}{a^3 d}+\frac{\left (3 e^5\right ) \operatorname{Subst}\left (\int \left (x^{-6+m}-\frac{2 x^{-4+m}}{e^2}+\frac{x^{-2+m}}{e^4}\right ) \, dx,x,e \sin (c+d x)\right )}{a^3 d}\\ &=-\frac{4 e^5 (e \sin (c+d x))^{-5+m}}{a^3 d (5-m)}+\frac{e^5 \cos (c+d x) \, _2F_1\left (-\frac{5}{2},\frac{1}{2} (-5+m);\frac{1}{2} (-3+m);\sin ^2(c+d x)\right ) (e \sin (c+d x))^{-5+m}}{a^3 d (5-m) \sqrt{\cos ^2(c+d x)}}+\frac{3 e^5 \cos (c+d x) \, _2F_1\left (-\frac{3}{2},\frac{1}{2} (-5+m);\frac{1}{2} (-3+m);\sin ^2(c+d x)\right ) (e \sin (c+d x))^{-5+m}}{a^3 d (5-m) \sqrt{\cos ^2(c+d x)}}+\frac{7 e^3 (e \sin (c+d x))^{-3+m}}{a^3 d (3-m)}-\frac{3 e (e \sin (c+d x))^{-1+m}}{a^3 d (1-m)}\\ \end{align*}
Mathematica [F] time = 1.21067, size = 0, normalized size = 0. \[ \int \frac{(e \sin (c+d x))^m}{(a+a \sec (c+d x))^3} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.409, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( e\sin \left ( dx+c \right ) \right ) ^{m}}{ \left ( a+a\sec \left ( dx+c \right ) \right ) ^{3}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e \sin \left (d x + c\right )\right )^{m}}{{\left (a \sec \left (d x + c\right ) + a\right )}^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\left (e \sin \left (d x + c\right )\right )^{m}}{a^{3} \sec \left (d x + c\right )^{3} + 3 \, a^{3} \sec \left (d x + c\right )^{2} + 3 \, a^{3} \sec \left (d x + c\right ) + a^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e \sin \left (d x + c\right )\right )^{m}}{{\left (a \sec \left (d x + c\right ) + a\right )}^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]